package com.lantosec.hmrp.modules.warning.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lantosec.hmrp.core.kit.PageVO;
import com.lantosec.hmrp.modules.warning.entity.WarningLog;
import com.lantosec.hmrp.modules.warning.mapper.WarningLogMapper;
import com.lantosec.hmrp.modules.warning.service.IWarningLogService;
import com.lantosec.hmrp.modules.warning.vo.WarningLogVO;
import lombok.extern.log4j.Log4j2;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author AutoCode
 * @since 2020-06-09
 */
@Service
@Primary
@Log4j2
public class WarningLogServiceImpl extends ServiceImpl<WarningLogMapper, WarningLog> implements IWarningLogService {
    @Override
    public Page<WarningLog> queryPage(PageVO<WarningLog> page, WarningLogVO condition) {
        PageVO<WarningLog> param = baseMapper.queryPage(page,condition);
        return param;
    }
}
